package com.logic.landseaserver.persistence.read;

import java.util.List;

import com.logic.landseaserver.domain.SurveyQuestion;
import com.logic.landseaserver.ws.dto.SurveyQuestionDTO;

public interface SurveyQuestionReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SurveyQuestion record);

    int insertSelective(SurveyQuestion record);

    SurveyQuestion selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SurveyQuestion record);

    int updateByPrimaryKey(SurveyQuestion record);
    
    List<SurveyQuestionDTO> selectBySurveyId(Integer id);
}